package org.jeecg.modules.performance.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: PerformanceMonthDetail
 * @Author: jeecg-boot
 * @Date:   2021-05-18
 * @Version: V1.0
 */
@Data
@TableName("performance_month_detail")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="performance_month_detail对象", description="PerformanceMonthDetail")
public class PerformanceMonthDetail {

	/**id*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id")
	private String id;
	/**userId*/
    @ApiModelProperty(value = "userId")
	private String userId;
	/**perforMonthId*/
    @ApiModelProperty(value = "perforMonthId")
	private String perforMonthId;
	/**其他总分*/
    @ApiModelProperty(value = "其他总分")
	private Float otherScore = 0.00f;
	/**时效总分*/
    @ApiModelProperty(value = "时效总分")
	private Float timeScore = 0.00f;
	/**传播总分*/
    @ApiModelProperty(value = "传播总分")
	private Float spreadScore= 0.00f;
    @ApiModelProperty(value = "加权类型1 减  2 加")
	private Integer type;
	/**岗位绩效名称 多个，隔开*/
	@Excel(name = "岗位绩效", width = 15,orderNum = "4")
    @ApiModelProperty(value = "绩效岗位")
	private String postPreforName;
	/**岗位绩效总金额*/
    @ApiModelProperty(value = "岗位绩效总金额")
	private Float postAmount = 0.00f;
	/**固定工资*/
    @ApiModelProperty(value = "固定工资")
	private Float salaryAmount = 0.00f;
	@Excel(name = "绩效奖金", width = 15,orderNum = "9")
    @ApiModelProperty(value = "绩效总金额 (score 对应的金额)")
	private Float scoreAmount = 0.00f;
	/**加权操作的值*/
    @ApiModelProperty(value = "加权操作的值")
	private Float valueAmount = 0.00f;
	/**createTime*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "createTime")
	private Date createTime;
	/**remark*/
	@Excel(name = "备注", width = 15,orderNum = "13")
    @ApiModelProperty(value = "remark")
	private String remark;

	private String departId;

	private  Integer checkStatus;
}
